export class BomEntityItem {
    get bomId(): number {
        return this._bomId;
    }

    set bomId(value: number) {
        this._bomId = value;
    }

    get bomCode(): string {
        return this._bomCode;
    }

    set bomCode(value: string) {
        this._bomCode = value;
    }

    get bomName(): string {
        return this._bomName;
    }

    set bomName(value: string) {
        this._bomName = value;
    }

    get price(): number {
        return this._price;
    }

    set price(value: number) {
        this._price = value;
    }

    get material(): number {
        return this._material;
    }

    set material(value: number) {
        this._material = value;
    }

    get quantity(): number {
        return this._quantity;
    }

    set quantity(value: number) {
        this._quantity = value;
    }

    get deliveryDate(): string {
        return this._deliveryDate;
    }

    set deliveryDate(value: string) {
        this._deliveryDate = value;
    }

    get note(): string {
        return this._note;
    }

    set note(value: string) {
        this._note = value;
    }

    private _bomId!: number;
    private _bomCode!: string
    private _bomName!: string;
    private _price!: number;
    private _material!: number;
    private _quantity!: number;
    private _deliveryDate!: string;
    private _note!: string;
}

export class OptionItem {
    get value(): string {
        return this._value;
    }

    set value(value: string) {
        this._value = value;
    }

    get label(): string {
        return this._label;
    }

    set label(value: string) {
        this._label = value;
    }

    private _value!: string;
    private _label!: string;

    constructor(_value: string, _label: string) {
        this._value = _value;
        this._label = _label;
    }
}